package com.ztmg.water.mapper.recycle;

import com.ztmg.water.dto.recycle.TicketRecycleRecordPageDTO;
import com.ztmg.water.model.recycle.TicketRecycleRecord;
import com.ztmg.water.model.recycle.TicketRecycleRecordExample;
import java.util.List;

import com.ztmg.water.vo.recycle.TicketRecycleRecordAllVO;
import org.apache.ibatis.annotations.Param;

public interface TicketRecycleRecordMapper {
    long countByExample(TicketRecycleRecordExample example);

    int deleteByExample(TicketRecycleRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TicketRecycleRecord record);

    int insertSelective(TicketRecycleRecord record);

    List<TicketRecycleRecord> selectByExample(TicketRecycleRecordExample example);

    TicketRecycleRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TicketRecycleRecord record, @Param("example") TicketRecycleRecordExample example);

    int updateByExample(@Param("record") TicketRecycleRecord record, @Param("example") TicketRecycleRecordExample example);

    int updateByPrimaryKeySelective(TicketRecycleRecord record);

    int updateByPrimaryKey(TicketRecycleRecord record);

    List<TicketRecycleRecordAllVO> selectAllList(TicketRecycleRecordPageDTO dto);

    TicketRecycleRecordAllVO selectTicketRecycleById(@Param("id") Integer id);
}